﻿using System.Collections.Generic;
using netCoreStudy.Enum;

namespace netCoreStudy.Dto.User
{
	public class MenuDtoSm
	{
		/// <summary>
		/// Id 
		/// </summary>
		public long Id { get; set; }

		/// <summary>
		/// 菜单名称
		/// </summary>
		public string Name { get; set; }
		
		/// <summary>
		/// 路由地址 
		/// </summary>
		public string Path { get; set; }

		/// <summary>
		/// 图标名称   
		/// </summary>
		public string Icon { get; set; }
		
		/// <summary>
		/// 菜单类型 
		/// </summary>
		public MenuType MenuType { get; set; }
		
		/// <summary>
		/// 父Id 
		/// </summary>
		public long PId { get; set; }
		
		/// <summary>
		/// 子菜单
		/// </summary>
		public List<MenuDtoSm> Children { get; set; } = new List<MenuDtoSm>();
	}
}